/*  ----------------------------------------------------------------------------
 *  Arello Mobile
 *  Fast 3d Engine
 *  ----------------------------------------------------------------------------
 * Except where otherwise noted, this work is licensed under
 * http://creativecommons.org/licenses/by/3.0
 */

#ifndef __HRENDEL_ERROR_H__
#define __HRENDEL_ERROR_H__

#include <string>

namespace liba
{

class Error
{
	std::string id;
	std::string description;
	std::string system_description;
public:
	Error(const std::string & id, const std::string & description, const std::string & system_description = std::string() )
	:	id( id ),
		description( description ),
		system_description( system_description )
	{}
	const std::string & get_id()const
	{
		return id;
	}
	const std::string & get_description()const
	{
		return description;
	}
	const std::string & get_system_description()const
	{
		return system_description;
	}
};

} // namespace liba
using namespace liba;

#endif //__HRENDEL_ERROR_H__

